<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>for in 遍历对象</title>
</head>
<body>

</body>
<script>
    var obj = {
        name : '123',
        age : 'male',
        sex : 19,
        height : 170,
        weight : 75
    }

    for (prop in obj) {
        console.log(obj[prop]);
    }
</script>
</html>
